package org.shnux.android.bingo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;


import android.view.View;

public class StartActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.start);
        Handler myHandler = new Handler();
        Long in = new Long(2000);
        myHandler.postDelayed(mMyRunnable , in);
        
    }
    
    private Runnable mMyRunnable = new Runnable()
    {
        public void run()
        {
        	onMenu();
        }
     };   
     
    


     
    public void onMenu(){
    	//MediaPlayer click = MediaPlayer.create(this, R.raw.click);
    	//click.start();
    	Intent intent = new Intent(getApplicationContext(), MenuActivity.class);    	
    	startActivity(intent);
    }
    
}